<%@page import="bean.BoardDTO"%>
<%@page import="bean.BoardVo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' href='../css/board.css'/>
<script src='../js/board.js'></script>
<title>Input_result.jsp</title>
</head>
<body>
<h1>게시판 입력 결과</h1>
<%
BoardVo vo = new BoardVo(request);
BoardDTO dto = new BoardDTO();
dto.setVo(vo);



if(dto.insert()){%>
아이디<%=dto.getVo().getMid()%><br/>
내용<%=dto.getVo().getContent()%>
과목<%=dto.getVo().getSubject() %>
<%} %>
<input type='button' value='목록으로' id='btnList'/>
<script>inputInit();</script>
</body>
</html>